class HomeController < ApplicationController
	before_filter :authorize
	
	def dashboard
		@user = User.find_by_id(session[:user_id])
		#@appropriate_movies = Movie.all
		@appropriate_movies = Movie.find_all_appropriate_for_birthdate(@user.birthdate)
	end

end
